Skip to main content

templateVideoClip

Type

keyword

Summary

Used with the set command to set the properties of newly created video clips.

Syntax

templateVideoClip

Description

Use the templateVideoClip keyword to set up default properties to be used for any new video clips you create.

The templateVideoClip can be thought of as a special, abstract object. It is not a actual video clip, but it has all the properties of a video clip. The ID property of the templateVideoClip is zero.

You can use the set command to set the properties of the templateVideoClip before creating a video clip. The new video clip has the properties of the templateVideoClip, by default. Changing the properties of the templateVideoClip does not affect existing video clips.

The properties of the templateVideoClip can be returned to the default settings using the reset command.

You can refer to the templateVideoClip using any of the following forms:

    templateVideoClip
the templateVideoClip
templateVideoClip()
note

The templateVideoClip keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.

Examples

set the scale of the templateVideoClip to 2.0 -- double size

glossary: object, keyword, property, command, video clip, expression

keyword: templateScrollbar, default

object: videoClip

property: properties, ID, dontRefresh

command: reset, set

control structure: function

function: functionNames

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?